import request from '@/utils/request'
//学员提交作业接口
export function eduTeacherCommentsQuery(data) {
  //教师作业批改管理接口
  return request({
    method: 'get',
    url: '/eduTeacherComments/query',
    params: data,
  })
}

export function eduTeacherCommentsQueryById(id) {
  //查询
  return request({
    method: 'get',
    url: '/eduTeacherComments/query/' + id,
  })
}

export function eduTeacherCommentsAdd(data) {
  //添加
  return request({
    method: 'post',
    url: '/eduTeacherComments/add',
    data,
  })
}

export function eduTeacherCommentsDelete(id) {
  //删除
  return request({
    method: 'get',
    url: '/eduTeacherComments/delete/' + id,
  })
}

export function eduTeacherCommentsUpdate(data) {
  //修改
  return request({
    method: 'post',
    url: '/eduTeacherComments/update',
    data,
  })
}
